{include file="public/header" /}

<body style="background-color: #f1f1f1;" class="bingli e_record">
<form action="">
    <div class="cont">
        <div class="wrapper">
            {if condition="empty($expire)"}
            <div class="top">

                <div class="person">
                    <div class="bot">
                        <div class="img_box">
                            {include file="public/seximg" /}

                        </div>

                        <div class="right">
                            <span class="name">{$userfamily.name}</span>
                            <span>{$userfamily.sex|get_sex_str}</span>
                            <span><em>{$userfamily.birth|getAge}</em>岁</span>
                            <p>{$userfamily.document_num}</p>
                        </div>
                        <a post-msg="你确定要删除吗" style="border:none;"    post-url="{:url('userfamily/del_userfamily',array('pid'=>$userfamily.id))}" class="confirm a-post">
                        <em class="del_btn " style="display: none;"></em>
                        </a>

                    </div>
                </div>

            </div>
            {/if}
            <!--  top 的结束-->
            <div class="lists_box">
                <div class="bot_top">
                    <i></i>
                    <span>检查记录</span>
                </div>
                <div class="record_list">
                    <div class="head_title">
                        <span>拍摄类型</span>
                        <span>拍摄部位</span>
                        <span>检查时间</span>
                    </div>
                    <ul id="recordList">
                        {foreach $case_list as $case}

                        <li>
                            <a href="{:url('userfamily/check_detail',array('cid'=>$case['id'],'pid'=>$pid,'expire'=>$expire,'isCheck'=>$isCheck))}">
                                <span>{$case['patient_case_type_name']}</span>
                                <span>{$case['patient_part_lat_name'][1]['part']}/{$case['patient_part_lat_name'][1]['lat']}</span>
                                <span>{$case['check_time']|strtotime|date='Y-m-d',###}</span>
                            </a>
                        </li>
                       {/foreach}
                    </ul>
                </div>
            </div>
        </div><!-- wrapepr 的结束-->
    </div><!-- cont 的结束-->
</form>
<script type="text/javascript" src="__STATIC__/index/js/check_list.js"></script>

</body>
{include file="public/footer" /}

<script>
    $(function(){
        $(".e_record  div.cont .top .person .bot .del_btn").click(function(){
            $(".e_record  div.cont .top .person .popor").show();
        });
        $(".e_record  div.cont .top .person .popor .center .center_box .colse").click(function(){
            $(".e_record  div.cont .top .person .popor").hide();
        });

        $(".e_record  div.cont .top .person .popor .center .center_box .cancle").click(function(){
            $(".e_record  div.cont .top .person .popor").hide();
        });
    })
</script>
</html>